#include"stdio.h"
//switch嵌套
int main ()
{
    int n = 1;
    int m = 2;
switch(n)
    {
        case 1:m++;
       case 2:n++;
       case 3:
     switch (n)
       {
        case 1:
            n++;
        case 2:
           m++;
           n++;
        break;
       }
       case 4:
           m++;
        break;

        default:
        break;
    }
printf("m=%d,n=%d",m,n);
}
